SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 48270: Abend or incorrect variance estimates if replicate contains all missing values

DetailsAboutRate It

If the VARMETHOD=JACKKNIFE|JK or VARMETHOD=BRR option is specified on the PROC SURVEYMEANS statement, a REPWEIGHTS statement is specified along with either a DOMAIN or BY statement, and if any of the replicates have all missing values for the analysis variable, then either the procedure will abend with an error message or the procedure will complete with certain variance estimates incorrect.

Possible error messages include:

   ERROR: The REPWEIGHTS variable contains no positive replicate weights.
   
   ERROR:  An exception has been encountered.
   
   ERROR:  Write Access Violation SURVEYMEANS

If the procedure completes, then the variance estimates within the domain level or BY-group that includes the replicate(s) with all missing values will be incorrectly reported as 0 or missing. In addition, the standard error and variance of the mean, t-value and Pr>|t|, confidence limits for the mean, and the coefficient of variation will also be incorrect.

To circumvent this problem when the analysis variable is continuous, use PROC SURVEYREG instead and specify the analysis variable as the response variable on the MODEL statement.



Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemSAS/STATz/OS9.2 TS1M09.4 TS1M1
Microsoft® Windows® for 64-Bit Itanium-based Systems9.2 TS1M0
Microsoft Windows Server 2003 Datacenter 64-bit Edition9.2 TS1M0
Microsoft Windows Server 2003 Enterprise 64-bit Edition9.2 TS1M0
Microsoft Windows XP 64-bit Edition9.2 TS1M0
Microsoft® Windows® for x649.2 TS1M09.4 TS1M1
Microsoft Windows Server 2003 Datacenter Edition9.2 TS1M0
Microsoft Windows Server 2003 Enterprise Edition9.2 TS1M0
Microsoft Windows Server 2003 Standard Edition9.2 TS1M0
Microsoft Windows XP Professional9.2 TS1M0
Windows Vista9.2 TS1M0
Windows Vista for x649.2 TS1M0
64-bit Enabled AIX9.2 TS1M09.4 TS1M1
64-bit Enabled HP-UX9.2 TS1M09.4 TS1M1
64-bit Enabled Solaris9.2 TS1M09.4 TS1M1
HP-UX IPF9.2 TS1M09.4 TS1M1
Linux9.2 TS1M09.4 TS1M1
Linux for x649.2 TS1M09.4 TS1M1
OpenVMS on HP Integrity9.2 TS1M09.4 TS1M1
Solaris for x649.2 TS1M09.4 TS1M1
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.